| (vector operation)
Stack | Position | Description |
---|---|---|
Stack(In) | Top | Vector |
Top 1 | any value x | |
Stack(Out) | Vector |
forms a new vector with x as first element: x [ a b ] | results in [ x a b ]
Stack | Position | Description |
---|---|---|
Stack(In) | Top | any value x |
Top 1 | Vector | |
Stack(Out) | Vector |
forms a new vector with x as last element: [ a b ] x | results in [ a b x ]
Stack | Position | Description |
---|---|---|
Stack(In) | Top | Vector |
Top 1 | Vector | |
Stack(Out) | Vector |
merges both vectors into a new vector: [ a b ] [ X Y Z ] | gives the vector [ a b X Y Z ]
Note: If you want to insert only elements into a vector - i.e. you do not necessarily want to create a new vector - the instruction Insert is preferable for reasons of effectiveness.